package bbs.entity.config;


import bbs.entity.constants.Constants;
import bbs.entity.dto.SessionWebUserDto;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class WebConfig extends AppConfig{
    @Value("${admin.emails:}")
    private String adminEmails;

    @Value("${spring.mail.username:}")
    private String sendUserName;

    @Value("${send.mail.open:true}")
    private Boolean isSendEmailCode;

    @Value("${inner.api.appSecret:}")
    private String innerAppSecret;

    @Value("${spring.cloud.ai.tongyi.api-key}")
    private String apiKey;

    public String getApiKey() {
        return apiKey;
    }

    public String getInnerApiAppSecret() {
        return this.innerAppSecret;
    }

    public String getInnerAppSecret() {
        return this.innerAppSecret;
    }
    public String getSendUserName() {
        return this.sendUserName;
    }

    public Boolean getIsSendEmailCode() {
        return this.isSendEmailCode;
    }

    public String getAdminEmails() {
        return this.adminEmails;
    }

}
